using B.S.Medical.Domain.Entity;
using System;

namespace B.S.Medical.Domain.Medical
{
    /// <summary>
    /// 问诊单实体
    /// </summary>
    public class ConsultationModel : BaseEntity
    {
        /// <summary>
        /// 患者ID（外键，关联Patient表）
        /// </summary>
        public int PatientId { get; set; }

        /// <summary>
        /// 医生ID（外键，关联Doctor表）
        /// </summary>
        public int DoctorId { get; set; }

        /// <summary>
        /// 科室ID（外键，关联ManageModel表）
        /// </summary>
        public int DepartmentId { get; set; }

        /// <summary>
        /// 问诊日期
        /// </summary>
        public DateTime ConsultationDate { get; set; }

        /// <summary>
        /// 主诉
        /// </summary>
        public string ChiefComplaint { get; set; } = string.Empty;

        /// <summary>
        /// 现病史
        /// </summary>
        public string PresentIllness { get; set; } = string.Empty;

        /// <summary>
        /// 既往史
        /// </summary>
        public string PastHistory { get; set; } = string.Empty;

        /// <summary>
        /// 体格检查
        /// </summary>
        public string PhysicalExamination { get; set; } = string.Empty;

        /// <summary>
        /// 诊断结果
        /// </summary>
        public string Diagnosis { get; set; } = string.Empty;

        /// <summary>
        /// 治疗方案
        /// </summary>
        public string TreatmentPlan { get; set; } = string.Empty;

        /// <summary>
        /// 问诊状态（待问诊、问诊中、已完成、已取消）
        /// </summary>
        public string Status { get; set; } = "待问诊";

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; } = string.Empty;
    }
} 